{if $videoFileLink} {* its for complex fields SJB-825 *}
<div id="videoContainer_{$field_id}"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this video.</div>
<script type="text/javascript" src="{$GLOBALS.user_site_url}/files/video/swfobject.js"></script>
<script type="text/javascript">
	var s1 = new SWFObject("{$GLOBALS.user_site_url}/files/video/player.swf","ply","100%","250","9","#FFFFFF");
	s1.addParam("allowscriptaccess","always");
	s1.addParam("allowfullscreen","true");
	s1.addParam("wmode", "opaque");
	s1.addParam("flashvars","file={$videoFileLink}&image={$videoFileLink|regex_replace:"/flv/":"png"}&fullscreen=true");
	s1.write("videoContainer_{$field_id}");
</script>
{else}
<div id="videoContainer_{$field_id}"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this video.</div>
<script type="text/javascript" src="{$GLOBALS.user_site_url}/files/video/swfobject.js"></script>
<script type="text/javascript">
	var s1 = new SWFObject("{$GLOBALS.user_site_url}/files/video/player.swf","ply","100%","250","9","#FFFFFF");
	s1.addParam("allowscriptaccess","always");
	s1.addParam("allowfullscreen","true");
	s1.addParam("wmode", "opaque");
	s1.addParam("flashvars","file={$listing.video.file_url}&image={$listing.video.file_url|regex_replace:"/flv/":"png"}&fullscreen=true");
	s1.write("videoContainer_{$field_id}");
</script>
{/if}